package com.service.impl;

import com.mapper.TaocanMapper;
import com.pojo.Taocan;
import com.service.TaocanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TaocanServiceImpl implements TaocanService {

    @Autowired
    private TaocanMapper taocanMapper;

    @Override
    public Taocan getTaocanByNumber(String number) {
        return taocanMapper.getTaocanByNumber(number);
    }

    @Override
    public Taocan getLiuliangByNumber(String number) {
        return taocanMapper.getLiuliangByNumber(number);
    }
}